import { get, post } from "./request"

// 获取已绑定设备列表
export const getDeviceList = () => {
  return post('/device-rest/sync/download', { ts: 0 })
}

// 获取数据tab页的豆腐块数据
export const getBlockData = () => {
  return get('/operation-rest/api/weightpro/home/v1.0/dataBlock/get');
}

// 尿酸
export const queryUricAcidBlockData = (params) => get('/bloodsugar-rest/uricAcidData/queryBlockData', { params });

// 尿酮
export const queryUricKetoneBlockData = (params) => get('/bloodsugar-rest/uricKetoneData/queryBlockData', { params });